<!DOCTYPE html>
<html>
<head>
	<title>HM Servicumunicaciones</title>
	<meta http-equiv=Content-type content="text/html; charset=UTF-8">
	<!-- Include the bootstrap stylesheets -->
	<?php $this->load->helper('url'); ?>
	<link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url('application/views/css/bootstrap.css') ?>" />
	<link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url('application/views/css/overb.css') ?>" />
</head>
<body>
<div class="container">
	<a class="brand" href="<?php echo base_url() ?>" name="top"><img style="margin: 6px auto" src="<?php echo base_url('application/views/img/logo.png') ?>" alt="Image" style="max-width:100%;" /></a>


<a  class="btn btn-mini pull-right"  href="<?php echo base_url('index.php/principal/') ?>">
					<i class="icon-star"></i> Ver Sistema
					</a>
	<hr />
	<div class="row-fluid">
	<?php if($mensaje!=NULL){?>
		<div class="alert alert-error"><button type="button" class="close" data-dismiss="alert">&times;</button><?php echo $mensaje;?> </div>
<?php }?>
		<div class="span2"></div>
			<div class="well span8">
				<form class="form-horizontal" action="<?php echo base_url('index.php/admin/login') ?>" method="POST">
				  <fieldset>
					
					<div id="legend">
					  <legend class=""> <h3>Inicio de sesión</h3></legend>
					</div>
					<div class="control-group">
					  <!-- Username -->
					  <label class="control-label"  for="username">Nombre de Usuario</label>
					  <div class="controls">
						<input type="text" id="username" name="usuario" placeholder="" class="input-xlarge">
					  </div>
					</div>
				 
					<div class="control-group">
					  <!-- Password-->
					  <label class="control-label" for="password">Contraseña</label>
					  <div class="controls">
						<input type="password" id="password" name="password" placeholder="" class="input-xlarge">
					  </div>
					</div>
				 
				 
					<div class="control-group">
					  <!-- Button -->
					  <div class="controls">
						<button class="btn btn-primary">Iniciar sesión</button>
					  </div>
					</div>
				  </fieldset>
				</form>
			</div>
			<div class="span2">
			</div>
		</div>
	</div>
</body>
    <!-- Optional: Include the jQuery library -->
	<?php include("scripts.php")?>
   
</html>
